package com.faya.green.model;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户 ：LX
 * 创建时间： 2018/7/6. 9:40
 * 地点：广州
 * 目的: 用户
 * 结果：
 */
public class User implements Serializable {
    /**
     * 用户id
     */
    private String id;
    /**
     * 登录用户名，有且唯一
     */
    private String logName;
    /**
     * 姓名
     */
    private String name;
    /**
     * 用户性别 1 男 2 女
     * 对应： Constant.SEX_MALE  Constant.SEX_FEMALE
     */
    private String sex;
    /**
     * 生日 ，根据这个算出年龄
     */
    private Date birthday;
    /**
     * 民族
     * baseinfo.7
     */
    private String ethnic;
    /**
     * 省,josn数据 area.js
     */
    private String province;
    /**
     * 市,josn数据 area.js
     */
    private String city;
    /**
     * 县 区,josn数据 area.js
     */
    private String county;
    /**
     * 详细地址
     */
    private String addDetails;
    /**
     * 毕业院校
     */
    private String school;
    /**
     * 专业
     */
    private String profession;
    /**
     * 头像地址
     */
    private String imgHred;
    /**
     * 邮箱
     */
    private String email;
    /**
     * 后续的预留字段，比如整合其他系统的时候，另外的系统存在用户表，将其当成外键，实现用户表的扩展
     */
    private String foreignKey;
    /**
     * 是否存在待办，为后续待办任务、提醒的预留
     * Constant.yes no
     */
    private String isTask;
    /**
     * 是否有多图片，为图片合集做预留
     * Constant.yes no
     */
    private String isImg;
    /**
     * 盐 加密
     */
    private String salt;
    /**
     * 加密后的密码
     */
    private String password;
    /**
     * 登录IP
     * 通过 HttpUtil.getIpAddr 获得
     */
    private String ip;
    /**
     * 登录时间
     */
    private Date loginDate;
    /**
     * mac地址，暂时无用
     */
    private String mac;
    /**
     * 是否党员 1是 2 否
     * Constant.yes no
     */
    private String isParty;
    /**
     * 入党时间
     */
    private Date addParty;
    /**
     * 是否有履历信息
     * Constant.yes no
     */
    private String isResume;
    /**
     * 行政级别
     * baseinfo.10
     */
    private String levelAdministrative;
    /**
     * 职业类型
     *  baseinfo.9
     */
    private String administrativeType;
    /**
     * 是否在职 1-在职 2-离职
     */
    private String isDimission;
    /**
     * 离职时间
     */
    private Date dimissionDate;
    /**
     * 任职开始时间(最后担任的职务)
     */
    private Date serveTime;

    /**
     * 是否有违纪信息
     *  Constant.yes no
     */
    private String isPunish;
    /**
     * 是否有嘉奖
     *  Constant.yes no
     */
    private String isCommend;
    /**
     * 当前用户是否关联关系表数据 后续功能，当前政府人员的人际信息
     * Constant.yes no
     */
    private String isRelation;

    /**
     * 创建人id
     */
    private String createUser;
    /**
     * 注册类型
     * 1自注册 Constant.CREATETYPEREG
     * 2管理添加 Constant.CREATETYPEADMIN
     */
    private String createType;
    /**
     * 更新人ID
     */
    private String updateUser;
    /**
     * 状态标识 0 正常 1 禁用  2 待审批 3 锁定
     * UserFlagEnum 枚举
     */
    private String flag;
    /**
     * 状态 0 增加 1 修改 2 删除
     * 对应 StatusEnum 枚举
     */
    private String status;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 更新时间
     */
    private Date updateTime;
    /**
     * 备注
     */
    private String remark;


    public String getLogName() {
        return logName;
    }

    public void setLogName(String logName) {
        this.logName = logName;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getEthnic() {
        return ethnic;
    }

    public void setEthnic(String ethnic) {
        this.ethnic = ethnic;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCounty() {
        return county;
    }

    public void setCounty(String county) {
        this.county = county;
    }

    public String getAddDetails() {
        return addDetails;
    }

    public void setAddDetails(String addDetails) {
        this.addDetails = addDetails;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }

    public String getProfession() {
        return profession;
    }

    public void setProfession(String profession) {
        this.profession = profession;
    }

    public String getImgHred() {
        return imgHred;
    }

    public void setImgHred(String imgHred) {
        this.imgHred = imgHred;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getForeignKey() {
        return foreignKey;
    }

    public void setForeignKey(String foreignKey) {
        this.foreignKey = foreignKey;
    }

    public String getIsTask() {
        return isTask;
    }

    public void setIsTask(String isTask) {
        this.isTask = isTask;
    }

    public String getIsImg() {
        return isImg;
    }

    public void setIsImg(String isImg) {
        this.isImg = isImg;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Date getLoginDate() {
        return loginDate;
    }

    public void setLoginDate(Date loginDate) {
        this.loginDate = loginDate;
    }

    public String getMac() {
        return mac;
    }

    public void setMac(String mac) {
        this.mac = mac;
    }

    public String getIsParty() {
        return isParty;
    }

    public void setIsParty(String isParty) {
        this.isParty = isParty;
    }

    public Date getAddParty() {
        return addParty;
    }

    public void setAddParty(Date addParty) {
        this.addParty = addParty;
    }

    public String getIsResume() {
        return isResume;
    }

    public void setIsResume(String isResume) {
        this.isResume = isResume;
    }

    public String getLevelAdministrative() {
        return levelAdministrative;
    }

    public void setLevelAdministrative(String levelAdministrative) {
        this.levelAdministrative = levelAdministrative;
    }

    public String getAdministrativeType() {
        return administrativeType;
    }

    public void setAdministrativeType(String administrativeType) {
        this.administrativeType = administrativeType;
    }

    public String getIsDimission() {
        return isDimission;
    }

    public void setIsDimission(String isDimission) {
        this.isDimission = isDimission;
    }

    public Date getDimissionDate() {
        return dimissionDate;
    }

    public void setDimissionDate(Date dimissionDate) {
        this.dimissionDate = dimissionDate;
    }

    public Date getServeTime() {
        return serveTime;
    }

    public void setServeTime(Date serveTime) {
        this.serveTime = serveTime;
    }

    public String getIsPunish() {
        return isPunish;
    }

    public void setIsPunish(String isPunish) {
        this.isPunish = isPunish;
    }

    public String getIsCommend() {
        return isCommend;
    }

    public void setIsCommend(String isCommend) {
        this.isCommend = isCommend;
    }

    public String getIsRelation() {
        return isRelation;
    }

    public void setIsRelation(String isRelation) {
        this.isRelation = isRelation;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getCreateType() {
        return createType;
    }

    public void setCreateType(String createType) {
        this.createType = createType;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
